package com.gagakuai.engine.impl.pvm.delegate;

import com.gagakuai.engine.impl.delegate.ActivityBehavior;
import com.gagakuai.engine.impl.delegate.ActivityExecution;

/*
 * @program: common-starters
 * @description: 信号驱动的活动行为类
 * @author: houhong
 * @create: 2023-01-02 20:14
 */
public interface SignallableActivityBehavior extends ActivityBehavior {

    /*
     * 执行任务发射方法 形如 runtimeSerice.signal(executionId);
     */
    void signal(ActivityExecution execution, String signalEvent, Object signalData) throws Exception;
}